{#include file="admin_header.htm"#}
<script src="ajax/ajax_payment_list.js" type='text/javascript' language="javascript"></script>
<div class="admin_main_nr_dbox">
  <table width="700" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
    <tr>
      <td width="100" height="26" align="center" bgcolor="#D0E2F7" >支付方式名稱</td>
      <td bgcolor="#D0E2F7" style="padding-left:15px;">支付方式簡短描述</td>
      <td width="70" align="center"  bgcolor="#D0E2F7">手續費</td>
      <td width="60" align="center" bgcolor="#D0E2F7"  >排序</td>
      <td width="100" align="center" bgcolor="#D0E2F7"  >操作</td>
    </tr>
  </table>
    <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="link_bk">
      {#section name=payment loop=$payment#}
      <tr class="row">
      <td width="100" style="border-bottom:1px #CCCCCC solid; padding-left:10px;"> {#$payment[payment].byname#} </td>
        <td height="34" style="border-bottom:1px #CCCCCC solid; color:#666666">
		{#$payment[payment].p_introduction#}</td>
        <td width="70" align="center" style="border-bottom:1px #CCCCCC solid">{#$payment[payment].fee#} %</td>
        <td width="60" align="center" style="border-bottom:1px #CCCCCC solid">
		<input name="listorder" type="text" id="listorder"  style="width:30px; height:15px; color:#666666; border:1px #FFFFFF solid; text-align:center"  onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');edit_payment_listorder({#$payment[payment].id#},this.value)" value="{#$payment[payment].listorder#}" maxlength="3" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))" onFocus="this.style.borderColor='#0066CC'" onBlur="this.style.borderColor='#FFFFFF'" />
		</td>
        <td width="104" align="center" style="border-bottom:1px #CCCCCC solid">
		{#if $payment[payment].p_install==2#}
		<a href="?act=uninstall_payment&id={#$payment[payment].id#}" onclick="return confirm('你確定要卸載嗎？')">卸載</a>
		&nbsp;&nbsp;&nbsp;&nbsp;<a href="?act=edit_payment&name={#$payment[payment].typename#}" >編輯</a>
		{#else#}
		<a href="?act=install_payment&name={#$payment[payment].typename#}">安裝</a>		{#/if#}		</td>
      </tr>
      {#sectionelse#}
  <tr>
    <td height="50" colspan="5" align="center">沒有任何記錄！</td>
  </tr>
      {#/section#}
    </table>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>
